f = "放假" 
h = "周中"

a = "放假"
b = "上学"
c = "周中"
d = "周末"
if f == a:
 if h == c:
    print ("10点")
 else:
    if h == d:
        print("不设")
else:
    if f ==b and h == c:
        print("8点")
    else:
        if f==b and h==d:
            print("10点")